package org.yiqixue.accounts.repository;

import org.yiqixue.accounts.entity.Transaction;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.Date;
import java.util.List;

@Repository
public interface TransactionRepository extends JpaRepository<Transaction, Long> {
    List<Transaction> findByAccountNumberAndTypeAndTransactionDate(Long accountNumber, String type, Date date);
}